* File to import training dates from Lumosity

***inputs:
* $GameOrigData/la_nauze_training_data_anon.csv 

***outputs:
* Data/TrainingDates.dta


clear

* import raw data 
insheet using $OrigData/la_nauze_training_data_anon.csv 

* transform string date to stata date
	gen date_trained = date(trained_date, "YMD")

	format date_trained %td

	drop trained_date

* label variables

	label variable date_trained "Date of any training"

save $Data/TrainingDates.dta, replace




